//
//  HZMDataModel.m
//  糖糖大魔王
//
//  Created by 韩震明 on 15/11/2.
//  Copyright © 2015年 韩震明. All rights reserved.
//

#import "HZMDataModel.h"

@implementation HZMDataModel

- (void)dealloc
{
    [_cover_image_url release];
    [_name release];
    [_favorites_count release];
    [_price release];
    [_myDescription release];
    [_image_urls release];
    [_purchase_url release];
    [_url release];
    [_dataId release];
    [super dealloc];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"description"]) {
        self.myDescription = value;
    }
    if ([key isEqualToString:@"id"]) {
        self.dataId = value;
    }
}

@end
